package com.etc.traval.biz;

import java.util.List;

import com.etc.travel.entity.Room;
import com.etc.travel.entity.Seller;

public interface RoomBiz {

	
	//通过id查找room
		public Room queryRoom(int id);
		//添加房间
		public boolean addRoom(Room room);
		//删除房间
		public boolean delRoom(int id);
		//按卖家查看room
		public List<Room> queryRoomBySeller(Seller seller);
		//根据房间id修改房间状态
	    public boolean updateRoomById(String system,int id);	
	    
	    //根据seller、type、system查询房间
	    public List<Room> queryBySellerTypeSystem(Seller seller,String type,String system);
	     
	    //根据seller查询所有房间
	    public List<Room> queryAll(Seller seller);
}
